package da.asclass.util
{

    public class Constant
    {
        public static const CMD_BEGIN:int = 0;
        public static const CMD_END:int = 4;

        public static const CMD_LENGTH:int = 4;
        public static const USER_ID_LENGTH:int = 8;

        public static const GROUP_ID_LENGTH:int = 8;
        public static const USER_NAME_LENGTH:int = 32;
        public static const USER_PASS_LENGTH:int = 32;

        public static const CMD_CREATE:String = "0001";
        public static const CMD_CREATE_SUCCESS = "0002";
        public static const CMD_CREATE_FAILED = "0003";

        public static const CMD_LOGIN:String = "0010";
        public static const CMD_REGIST:String = "1111";

        public static const CMD_LOGIN_SUCCESS:String = "0011";
        public static const CMD_LOGIN_FAILED:String = "0012";
        public static const CMD_LOGOUT:String = "0020";

        public static const CMD_CONTACTS_STATUS:String = "0009";

        public static const CMD_USER_MESSAGE:String = "0030";
        public static const CMD_GROUP_MESSAGE:String = "0070";

        public static const ADD_TO_HEAD:String = "0";

        public static var USER_ID:String = "123456";
        public static var SERVER_ID:String = "123456";
    }
}